WPForms\Admin\Helpers\Datepicker S

Total Complexity 41
Dependencies 1
Dependents 3
Total lines 450
Lines of code 211
Logical lines of code 88
Comment lines 200
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
process_datepicker_choices()
S
50 7 27
process_timespan_mysql()
S
54 7 20
process_timespan()
S
49 6 31
process_string_timespan()
S
53 4 24
get_prev_timespan_dates()
S
59 4 13
get_wp_date_format_for_momentjs()
S
45 2 43
get_timespan_dates()
S
55 3 19
get_date_filter_choices()
S
57 3 16
concat_dates()
S
62 3 12
maybe_validate_string_timespan()
S
70 2 6